<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
			let token= uni.getStorageSync('token')
			if(token){
				uni.reLaunch({
					url:'/pages/index/index'
				})
			}
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>


<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	// 引入阿里字体图标
	@import url('@/static/iconfont/iconfont.css');
	// 设置整个项目的背景色
	page {
		background-color: #F7F9FB;
	}

	@font-face {
		font-family: "PingFang SC-Bold";
		src: url('./static/font/PingFang Bold.ttf');
		font-weight: normal;
		font-style: normal;
	}

	@font-face {
		font-family: "PingFang SC-Regular";
		src: url('./static/font/PingFang Regular.ttf');
		font-weight: normal;
		font-style: normal;
	}

	view,
	text {
		// font-family: 'Arial Normal', 'Arial', sans-serif;
		font-family: PingFang SC-Bold;
	}

	.jiazai {
		margin-top: 20upx;
		display: flex;
		justify-content: center;
		text-align: center;
		font-size: 26upx;
		color: #ccc;
	}

	.orderMap {
		/deep/.u-icon__icon {
			span {
				margin-top: 5upx;
			}
		}
	}

	.orderMap13 {
		/deep/.u-icon__icon {
			span {
				margin-top: 6upx;
			}
		}
	}

	.padd-top {
		padding-top: 88upx;
		box-sizing: border-box;
	}

	.paddTopheder {
		padding-top: calc(var(--status-bar-height) + 44px);
		box-sizing: border-box;
	}
</style>